//
//  BU2ViewController.h
//  Balance
//
//  Created by Calvin Kuo on 12-04-29.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
/* To Do:
 1.  This VC is for the parameters button on the Balance View By Countries. Need to be removed later as now I have two separate buttons implemented on View By Time and View By Countries. Moreover, the selection of a BU does not trigger any function/filters as the requirement is not clear to me.
 */

@protocol BU2ViewControllerDelegate;

@interface BU2ViewController : UITableViewController
{
@private
    BOOL checkAll;
    BOOL uncheckAll;
    BOOL initial;
}
@property (nonatomic, retain) NSMutableArray *buNames;
@property (strong, nonatomic) IBOutlet UITableView *buTableView;
@property (nonatomic, weak) id <BU2ViewControllerDelegate> delegate;
@property (nonatomic, retain) NSString *identifier;

- (IBAction)checkAll:(id)sender;
- (IBAction)unCheckAll:(id)sender;
@end

@protocol BU2ViewControllerDelegate <NSObject>

- (void)bu2ViewController:(BU2ViewController *)controller status:(NSString*)statusCode;


@end
